<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
<head>
    <title>Title</title>

    <table border="1"  cellpadding="0">
        <tr>
            <td>用户id</td>
            <td>用户姓名</td>
            <td>用户密码</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${list}" var="user" varStatus="status" >
            <tr>
                <td>${status.count}</td>
                <td>${user.username}</td>
                <td>${user.password}</td>
                <td><a href=/userDetailServlet?username=${user.username}&password=${user.password}>详情</a></td>
            </tr>
        </c:forEach>
    </table>>
</head>>
</body>
</html>
